package com.xinqi.modules.course.clazz.dto.req;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author wenjie
 * @date 2023/3/16  15:22
 */

@Data
@Schema(name = "班级数量限制更改-新增")
public class ClassCountLimitUpdateDTO implements Serializable {
    private Long id;
    /**
     * 学生人数限制
     */
    @NotNull(message = "学生数量限制不能为空")
    private Integer studentCount;
}
